<?php

namespace app\controllers;

use app\models\Trick;
use app\models\Problem;
use app\models\User;

class HomeController extends \app\extensions\action\FrontController
{

    public function index()
    {
        return array(
            'tricks' => Trick::all(),
            'problems' => Problem::all(),
            'users' => User::all()
        );
    }

    public function about()
    {

    }

}
